import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import elementIcon from "../plugins/icons";
import router from '../router' // index.js 默认引入
// import main from './main.vue'
import querystring from 'querystring'
import App from "./App.vue"
import axios from "axios"
import store from "../store"
import * as echarts from "echarts";

axios.defaults.withCredentials = true;

const app = createApp(App)
app.use(elementIcon)
app.use(ElementPlus)
app.use(store)
app.use(router)
app.config.globalProperties.echarts = echarts
app.config.globalProperties.$qs = querystring
app.config.globalProperties.$axios = axios
app.mount('#app')


